CFLAGS=-g

SOURCES=bintree.c user.c

PROGRAMS=$(SOURCES:.c=)

all: ${PROGRAMS}

bintree: bintree.c
	${CC} ${CFLAGS} -o $@ $<
user: user.c
	${CC} ${CFLAGS} -o $@ $< bt_data.c bt_disk.c bt_new.c bt_open.c
    
clean:
	rm -rf ${PROGRAMS}
